package com.java.service;

public interface LogService {

	/**
	 * 添加日志
	 * 
	 * @param name
	 * @param operation
	 * @param state
	 * @throws Exception
	 */
	void insertLog(String name, String operation, String state) throws Exception;

	/**
	 * 删除日志
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	int deleteLog(Integer id) throws Exception;
}
